package top.haijunit.navi.auth.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import top.haijunit.framework.mybatis.domain.BasicEntity;

import java.io.Serializable;

/**
 * 角色+权限表
 */
@Data
@TableName(value = "access_role_permission")
public class RolePermissionEntity extends BasicEntity {

    /**
     * 角色编码
     */
    private Long roleCode;

    /**
     * 权限编码
     */
    private Long permissionCode;

    /**
     * 权限状态，0拒绝，1允许
     */
    private Integer statusCode;

    /**
     * 创建人
     */
    private Long createBy;

}
